<?php

    if (!defined('BASEPATH'))
        exit('No direct script access allowed');

    class factory {

        function create($class_name, $your, $parameters) {


            //require_once APPPATH.'/libraries/'.$class_name.'.php';
            require_once("../external_libraries/libraries/" . $class_name . ".php");

            return new $class_name($your, $parameters);
        }

    }

    